package com.aurora.source.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author: ww
 * @description:系统权限
 * @date: 2018/9/21
 */
@Entity
public class SysPermissionEntity {
    @Id
    private Long id;
    private String userId;//用户id
    private boolean addUser;//添加用户权限
    private boolean addBatch;//添加批次权限
    private boolean addLogistics;//添加物流权限
    private boolean updateCompany;//修改企业信息
    private boolean addProduct;//添加商品
    @Generated(hash = 246519262)
    public SysPermissionEntity(Long id, String userId, boolean addUser,
            boolean addBatch, boolean addLogistics, boolean updateCompany,
            boolean addProduct) {
        this.id = id;
        this.userId = userId;
        this.addUser = addUser;
        this.addBatch = addBatch;
        this.addLogistics = addLogistics;
        this.updateCompany = updateCompany;
        this.addProduct = addProduct;
    }
    @Generated(hash = 1618658741)
    public SysPermissionEntity() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public boolean getAddUser() {
        return this.addUser;
    }
    public void setAddUser(boolean addUser) {
        this.addUser = addUser;
    }
    public boolean getAddBatch() {
        return this.addBatch;
    }
    public void setAddBatch(boolean addBatch) {
        this.addBatch = addBatch;
    }
    public boolean getAddLogistics() {
        return this.addLogistics;
    }
    public void setAddLogistics(boolean addLogistics) {
        this.addLogistics = addLogistics;
    }
    public boolean getUpdateCompany() {
        return this.updateCompany;
    }
    public void setUpdateCompany(boolean updateCompany) {
        this.updateCompany = updateCompany;
    }
    public boolean getAddProduct() {
        return this.addProduct;
    }
    public void setAddProduct(boolean addProduct) {
        this.addProduct = addProduct;
    }

}
